package com.avhdeveloper.actions;

import com.opensymphony.xwork2.ActionSupport;


public class NameWithPrepare extends ActionSupport{
  
  /**
   * Definition of HelloWorld.java.
   */
  private static final long serialVersionUID = 1L;
  private String role;
  private String title;
  private Boolean titleIsReadOnly = Boolean.FALSE; // change to TRUE to make title field readonly
  
  public String execute(){
    setRole("prefab rol");
    return SUCCESS;
  }

  public void setRole(String role) {
    this.role = role;
  }

  public String getRole() {
    return role;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getTitle() {
    return title;
  }

  public void setTitleIsReadOnly(Boolean titleIsReadOnly) {
    this.titleIsReadOnly = titleIsReadOnly;
  }

  public Boolean getTitleIsReadOnly() {
    return titleIsReadOnly;
  }
}
